<?php

$adminemail = 'rburghol@vt.edu';
// database connection info
// main modeling database
$dbname = 'model';
$dbpass = 'reim@nn';
$dbuser = 'robertwb';
//$dbip = '128.173.217.23';
//$dbip = 'localhost';
// deq1
//$dbip = '128.173.217.4';
$dbip = '128.173.217.26'; // deq3
// session data database
$session_dbname = 'model_sessiondata';
$session_dbpass = '314159';
$session_dbuser = 'postgres';
//$session_dbip = '128.173.217.23';
//$session_dbip = 'localhost';
// on local machine deq2
$session_dbip = 'localhost';
$session_port = 5433;
// deq1
//$session_dbip = '128.173.217.4';

// runtime modeling database
// use this if we want to NOT have a main postgresql database port active, 
// for instance, when reserving the main port for a failover replicant
//$runtime_dbname = 'model_scratch';
//$runtime_dbpass = '314159';
//$runtime_dbuser = 'postgres';
//$runtime_dbip = 'localhost';
//$runtime_dbport = '5433';
// deq1
$runtime_dbname = 'model';
$runtime_dbpass = '314159';
$runtime_dbuser = 'postgres';
$runtime_dbip = '128.173.217.4';
$runtime_dbport = '5432';

$remote_run = TRUE;
//vwuds database connection
$vwuds_dbname = 'vwuds';
$vwuds_dbpass = '314159';
$vwuds_dbuser = 'wsp_ro';
//$vwuds_dbip = 'localhost';
// deq1
//$vwuds_dbip = '128.173.217.4';
$vwuds_dbip = '128.173.217.26'; //deq3

$serverip = 'deq2.bse.vt.edu';
$mapservip = '66.16.215.162';
$mapserv_cgi = 'mapserv'; # would be mapserv.exe under windows
# google api key
//$gapikey = 'ABQIAAAAA7WL0moYTPBf2u-kPTUd8hRKiZoKD3So9JJj0y8UgDbMWqHU6BQb6dwnEQOo4BC2rtm42hw8EAfERw';
$gapikey = 'ABQIAAAAA7WL0moYTPBf2u-kPTUd8hSpxCV4KUwMR8tyB6kYVprcA33vJxTUyO8Pd0KshKNw8YTmJ-y9GxOGcA';

$sitename = 'WOOOMM is Online Object-Oriented Meta-Modeling';
$defaultpage = 'medit_modeling2.php';

# absolute path to where you put the who php files
$httproot = "/var/www/html";
$httppath = '/var/www/html';
$httppath_nodrive = '/var/www/html';
# absolute path to where you put the who php files
$basedir = "$httppath/om/";
$basedir_nodrive = "$httppath/om/";
$baseurl = '/om';

# the next two entries, datadir and dataurl are
# used to allow a single place for data storage 
# accessed from live and dev versions
# these should therefore point to the liver version
$datadir = "$httppath/data"; 
$dataurl = '/data';
# absolute path to where you put the lib files
$libpath = "/var/www/html/lib";
$libdir = "/var/www/html/lib";
# URL to library folder
$liburl = '/lib';
# url to javascript
$scripturl = '/scripts';

# URL to the web server writable directory, your jpgraph install needs to be configured to write to this directory
$gouturl = "/tmp";
$iconurl = "/images";

# need a writeable temp dir. if using widgets that execute dos commands, one may wish to have this be a short, 8.3 compliant dirname
# such as C:/temp or /tmp (if using unix dos ports)
$tmpdir = "/var/www/html/tmp";
$shellcopy = 'cp'; # the local system copy command for shell scripts that use it

# default for graphics generated by jpgraph
$default_imagetype = 'png';

# HSPF specific info
$wdm_messagefile = '/var/www/cgi-bin/message.wdm';
$hspf_exe = '/var/www/cgi-bin/hspf';
$wdimex_exe = '/var/www/cgi-bin/wdimex';

# local executable for php
$php_exe = "/var/www/cgi-bin/php";

?>
